package com.jxc.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Record entity. @author MyEclipse Persistence Tools
 */

public class Record implements java.io.Serializable {

	// Fields

	private Integer id;
	private String sn;
	private Integer flowId;
	private Double totalprice;
	private String type;
	private Integer staffId;
	private Integer userId;
	private String state;
	private Date createdate;
	private Date enddate;
	private String remarkes;
	private Set recordlists = new HashSet(0);

	// Constructors

	/** default constructor */
	public Record() {
	}

	/** full constructor */
	public Record(String sn, Integer flowId, Double totalprice, String type,
			Integer staffId, Integer userId, String state, Date createdate,
			Date enddate, String remarkes, Set recordlists) {
		this.sn = sn;
		this.flowId = flowId;
		this.totalprice = totalprice;
		this.type = type;
		this.staffId = staffId;
		this.userId = userId;
		this.state = state;
		this.createdate = createdate;
		this.enddate = enddate;
		this.remarkes = remarkes;
		this.recordlists = recordlists;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Integer getFlowId() {
		return this.flowId;
	}

	public void setFlowId(Integer flowId) {
		this.flowId = flowId;
	}

	public Double getTotalprice() {
		return this.totalprice;
	}

	public void setTotalprice(Double totalprice) {
		this.totalprice = totalprice;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getStaffId() {
		return this.staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public String getRemarkes() {
		return this.remarkes;
	}

	public void setRemarkes(String remarkes) {
		this.remarkes = remarkes;
	}

	public Set getRecordlists() {
		return this.recordlists;
	}

	public void setRecordlists(Set recordlists) {
		this.recordlists = recordlists;
	}

}